var uploader = new qq.FineUploader({
    // pass the dom node (ex. $(selector)[0] for jQuery users)
    element: $('#fine-uploader')[0],
    
    request: {
            // path to server-side upload script
       endpoint: '/adon/object/upload'
    },
	validation: {
	    allowedExtensions: ['jpeg', 'jpg', 'txt'],
	    sizeLimit: 204800 // 200 kB = 200 * 1024 bytes
	},
    text: {
        uploadButton: 'Click or Drop'
    },
	showMessage: function(message) {
        // Using Twitter Bootstrap's classes and jQuery selector and method
        $('#restricted-fine-uploader').append('<div class="alert alert-error">' + message + '</div>');
    }
});